<!--  mvk: источник: https://developer.jboss.org/thread/202130, https://docs.jboss.org/author/display/WFLY8/Class+Loading+in+WildFly  -->
<jboss-deployment-structure>  
    <deployment>  
         <dependencies>  
         <!-- для WF18 это не требутся, более того, это приводит к LinkageError по доступу к CloseableIterator
             <module name="org.infinispan"/>
             <module name="org.infinispan.jcache" slot="ispn-9.4" services="export"/>
             <module name="org.infinispan.extension" slot="ispn-9.4" services="export"/>
             <module name="org.infinispan.cdi.common" slot="ispn-9.4" services="export"/>   
             <module name="org.infinispan.cdi.embedded" slot="ispn-9.4" services="export"/>                    
         -->   
             <module name="org.infinispan"/>
             <module name="org.infinispan.commons"/>

             <!-- required for S5Connection inside wildfy (gateways) -->
             <module name="org.jboss.xnio" export="true" />
             <module name="org.jboss.xnio.nio" export="true" />
             <!-- wildfly-14.0.1.Final -->
             <module name="org.jboss.modules" export="true" />
             <module name="org.wildfly.common" export="true" />
             <module name="org.wildfly.security.elytron-private" export="true" />
             <module name="org.apache.activemq.artemis" export="true" />
             
             <!-- need for s5connection inside wildfly (gateways), import org.jboss.marshalling/Pair  -->
             <module name="org.jboss.marshalling" export="true" />
             
        </dependencies>  
    </deployment>  
</jboss-deployment-structure>  